package service.impl;

import javax.persistence.EntityManager;

import models.Addr;
import processor.AddrProcessor;
import service.AddrService;

public class AddrServiceImpl extends AbstractServiceImpl implements AddrService {

    protected Addr dbaddr;

    public AddrServiceImpl() {
        this.dbaddr = new Addr();
    }

    public AddrServiceImpl(Addr addr) {
        this.dbaddr = addr;
    }

   

    @Override
    public AddrProcessor getProcessor() {
        // TODO Auto-generated method stub
        return new AddrProcessor(this.dbaddr);
    }

}
